package cn.stylefeng.guns.modular.bi.service;

import cn.stylefeng.guns.base.pojo.page.LayuiPageInfo;
import cn.stylefeng.guns.modular.bi.entity.BiCostDiff;
import cn.stylefeng.guns.modular.bi.model.params.BiCostDiffParam;
import cn.stylefeng.guns.modular.bi.model.result.BiCostDiffResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 运费成本差异 服务类
 * </p>
 *
 * @author zhangzh
 * @since 2024-05-10
 */
public interface BiCostDiffService extends IService<BiCostDiff> {


    /**
     * 查询单条数据，Specification模式
     *
     * @author zhangzh
     * @Date 2024-05-10
     */
    BiCostDiffResult findBySpec(BiCostDiffParam param);

    /**
     * 查询列表，Specification模式
     *
     * @author zhangzh
     * @Date 2024-05-10
     */
    List<BiCostDiffResult> findListBySpec(BiCostDiffParam param);

    /**
     * 查询分页数据，Specification模式
     *
     * @author zhangzh
     * @Date 2024-05-10
     */
     LayuiPageInfo findPageBySpec(BiCostDiffParam param, String condition);

}
